package com.study.spmongodb.wwj.thread2.char18;

/**
 * @author MI
 * @version 1.0
 * @date 2020/12/9 21:05
 * 对应ActiveOjbect 的每一个方法
 */
public abstract class MethodRequest {

    protected final Servant servant;

    protected final FutureResult futureResult;

    public MethodRequest(Servant servant, FutureResult futureResult) {
        this.servant = servant;
        this.futureResult = futureResult;
    }

    public abstract void execute();


}
